﻿Add-Type -Path .\Wolfpack.Contrib.Checks.Powershell.Scripting.dll

$hc = new-object -typename Wolfpack.Contrib.Checks.Powershell.Scripting.PSHealthCheckData
$hc.AddProperty("Wolfpack", "Is Awesome!")

# SetIdentity is optional - if you don't set this it will assume 
# the identity setup for the HealthCheck that runs this script
$hc.SetIdentity("MyFirstPowershellAlert", "{406C666B-FD00-4DE9-8A6C-B835FD0FFF82}", "This is my first Wolfpack Powershell Alert")
$hc.Result = $true
$hc.ResultCount = 42
return $hc